import request from '@/router/axios'

export const pages = (current, size, params) => {
  return request({
    url: '/biz-api/pv-supplier/suppliercapacity/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}

export const detail = params => {
  return request({
    url: '/biz-api/pv-supplier/suppliercapacity/detail',
    method: 'get',
    params
  })
}

export const submit = data => {
  return request({
    url: '/biz-api/pv-supplier/suppliercapacity/submit',
    method: 'post',
    data
  })
}

